import React, {Component,Fragment} from 'react';

class Fragment1 extends Component {
    render() {
        return (
            //解决层级太多的，虚拟标签
            <Fragment>
                <h1>你好</h1>
            </Fragment>
        );
    }
}

export default Fragment1;